﻿
namespace VMWareLabWorkflowsDataContracts
{
    using System;
    using System.ComponentModel;
    using Microsoft.TeamFoundation.Build.Workflow.Activities;

    /// <summary>
    /// Settings for the automated tests
    /// </summary>
    [Serializable, TypeConverter(typeof(ExpandableObjectConverter))]
    public class AutomatedTestSettings
    {
        public TestSpecList TestSpecList { get; set; }

        /// <summary>
        /// Specifiy the version to get from source control
        /// </summary>
        /// <value>The get version.</value>
        public string GetVersion { get; set; }

        /// <summary>
        /// Run tests defined by automated test settings
        /// </summary>
        /// <value><c>true</c> if [run automated tests]; otherwise, <c>false</c>.</value>
        public bool RunAutomatedTests { get; set; }

        /// <summary>
        /// Specifyes the build deploy folder for the automated tests.
        /// </summary>
        /// <value>The build deploy folder.</value>
        public string BuildDeployFolder { get; set; }
    }
}
